'Declaration Public Overloads MustOverride Function CreateLinearGradientBrush( _
ByVal rectangleA System.Drawing.RectangleF structure that specifies the bounds of the linear gradient.As System.Drawing.RectangleF, _
ByVal ParamArray gradientStopsThe brush's gradient stops.() As GradientStop _
) As IDrawingLinearGradientBrush
public abstract IDrawingLinearGradientBrush CreateLinearGradientBrush(
System.Drawing.RectangleF rectangle,
params GradientStop[] gradientStops
)
public: abstract IDrawingLinearGradientBrush* CreateLinearGradientBrush(
System.Drawing.RectangleF* rectangle,
params GradientStop*[]* gradientStops
)
public:
abstract IDrawingLinearGradientBrush^ CreateLinearGradientBrush(
System.Drawing.RectangleF^ rectangle,
... array<GradientStop^>^ gradientStops
)
Parameters
- rectangle
- A System.Drawing.RectangleF structure that specifies the bounds of the linear gradient.
- gradientStops
- The brush's gradient stops.
Return Value
A new linear gradient brush.